package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author by TiaoPi
 * 2019/12/9
 */

@Controller
public class HomeController {

    @RequestMapping("/home")
    public String homePage(){
        return "home";
    }

    @RequestMapping("/phone")
    public String phonePage(){
        return "phone";
    }

    @RequestMapping("/pcweb")
    public String pcwebPage(){
        return "pcweb";
    }

    @RequestMapping("/flowchart")
    public String flowchartPage(){
        return "flowchart";
    }

}
